package com.motorhome.manage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author: John
 */
@Data
public class Order {

    private Long id;

    private Long userId;

    private String userName;

    private String userPhone;

    private String userCardId;

    private String startCityId;

    private String startCityName;

    private Long startShopId;

    private String startShopName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;

    private Long endCityId;

    private String endCityName;

    private Long endShopId;

    private String endShopName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    private Long carId;

    private String carName;

    private String carDescription;

    private Float price;

    private Integer days;

    private Float total;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String openPointNo;

    private String totalSnapshot;

    private Integer payType;

    private Integer payStatus;

}
